package com.cloud.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.auth.mapper.entity.Menu;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * 菜单表 Mapper 接口
 *
 * @author zhangxun
 * @since 2020-08-18
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> findUserPermissions(@Param(value = "username") String username);
}
